Relay e2e tests #754
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Relay e2e tests | |
on: | |
schedule: | |
- cron: 0 8 * * * | |
workflow_dispatch: | |
inputs: | |
environment: | |
description: Environment to run the e2e against | |
required: true | |
default: stage | |
type: choice | |
options: | |
- stage | |
- prod | |
- dev | |
health_check: | |
description: Enable health check | |
required: false | |
default: false | |
type: boolean | |
jobs: | |
relaye2e: | |
name: ${{ inputs.health_check && 'Relay e2e health check' || 'Relay e2e all tests' }} | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run playwright tests | |
uses: ./.github/actions/playwright | |
with: | |
environment: ${{ inputs.environment }} | |
health_check: $${{ inputs.health_check }} | |
E2E_TEST_ACCOUNT_FREE: ${{ secrets.E2E_TEST_ACCOUNT_FREE }} | |
E2E_TEST_ACCOUNT_PASSWORD: ${{ secrets.E2E_TEST_ACCOUNT_PASSWORD }} | |
E2E_TEST_ACCOUNT_PREMIUM: ${{ secrets.E2E_TEST_ACCOUNT_PREMIUM }} | |
E2E_TEST_BASE_URL: ${{ secrets.E2E_TEST_BASE_URL }} |